package com.vik.webgallery.persistence;

import java.util.ArrayList;

import com.vik.webgallery.beans.Gallery;

public interface GalleryMapper {
	
	
	public ArrayList<Gallery> getGalleries();
	
	public ArrayList<Gallery> getLastAddedGalleries();
	
	public ArrayList<Gallery> getUserGalleries(long userId);
	
	public int getIdenticalGalleriesCount(Gallery g);
	
	public Gallery getGallery(long id);

	public void addGallery(Gallery g);
	
	public void deleteGallery(long id);
	
	public void updateGallery(long id);
	
}
